package com.boe.common.mvc;

//import io.swagger.annotations.ApiModelProperty;

import lombok.*;

import java.util.ArrayList;
import java.util.List;


@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class ListPageResult<T> extends JsonResult {
    /**
     * 总记录数
     */
//    @ApiModelProperty(value = "总记录数", example = "1000")
    private long total;
    /**
     * 列表
     */
//    @ApiModelProperty(value = "列表")
    private List<T> data = new ArrayList<>();
}
